package com.t3rik.mes.emp.service;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import com.t3rik.mes.emp.domain.EmpPieceSalaryDetails;
import com.t3rik.mes.emp.domain.vo.EmpPieceSalaryDetailsVo;
import com.t3rik.mes.pro.domain.ProFeedback;

/**
 * 员工计件工资详情Service接口
 *
 * @author ykh
 * @date 2025-02-19
 */
public interface IEmpPieceSalaryDetailsService extends IService<EmpPieceSalaryDetails> {

    void createEmpSalaryDetail(ProFeedback feedback);

    List<EmpPieceSalaryDetailsVo> computeEmpSalary(List<EmpPieceSalaryDetails> records);

    List<EmpPieceSalaryDetails> getListByYear(LocalDate startTime, LocalDate endTime);
}
